package com.bs.manager05.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.Version;
import lombok.Data;

import java.io.Serializable;

/**
 * @author 小姚
 * @pakeageName:com.bs.manager05.entity
 * @ClassName:BaseEntity
 * @Descirption:
 * @data 2022/12/18 17:45
 */
@Data
public class BaseEntity implements Serializable {
    @TableField(fill = FieldFill.INSERT)
    private String createTime;
    private String createBy;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateTime;
    private String updateBy;
    @Version
    private Integer version;
    @TableLogic(value = "0",delval = "1")
    private Integer deleted;
    private String remark;
}
